﻿using System;

namespace Narwhunderful.Aphelia.Framework.UI
{

    public enum TransitionState : byte
    {
        Idle,
        TransitioningOn,
        TransitioningOff,
        TransitionedOn,
        TransitionedOff
    }
    
    public class TransitionStateChangedEventArgs : EventArgs
    {

        TransitionState _state;
        public TransitionState State
        {
            get
            {
                return _state;
            }
            protected set
            {
                _state = value;
            }
        }

        TransitionState _oldState;
        public TransitionState OldState
        {
            get
            {
                return _oldState;
            }
            protected set
            {
                _oldState = value;
            }
        }

        public TransitionStateChangedEventArgs(TransitionState newState, TransitionState oldState)
            : base()
        {
            _state = newState;
            _oldState = oldState;
        }

    }

}
